package com.mz.common.query;

import lombok.Data;

/**
 * @author: soulcoder
 * @datetime: 2020/6/18 16:17
 * @description: TODO
 */
@Data
public class BaseQuery {
    private Long currentPage = 1L;
    private Long pageSize = 10L;

    private Long getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
